package study03;
import java.util.Scanner;

/**
* @author GZQ
* @Date 2023/11/5
 */

public class Switch1 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入月份(1 ~ 12)：");
        int month = input.nextInt();
        switch (month){
            case 3:
            case 4:
            case 5:
                System.out.println("春·(咏柳 - 贺知章)");
                System.out.println("碧绿装成一树高，万条垂下绿丝绦。");
                System.out.println("不知细叶谁裁出，二月春风似剪刀。");
                break;
            case 6:
            case 7:
            case 8:
                System.out.println("夏·(小池 - 杨万里)");
                System.out.println("泉眼无声惜细流，树阴照水爱晴柔。");
                System.out.println("小荷才露尖尖角，早有蜻蜓立上头。");
                break;
            case 9:
            case 10:
            case 11:
                System.out.println("秋·(秋夕 - 杜牧)");
                System.out.println("银烛秋光冷画屏，轻罗小扇扑流莹。");
                System.out.println("天阶夜色凉如水，卧看牵牛织女星。");
                break;
            case 12:
            case 1:
            case 2:
                System.out.println("冬·(白梅 - 王冕)");
                System.out.println("冰雪林中著此身，不同桃李混芳尘。");
                System.out.println("忽然一夜清香发，散作乾坤万里香。");
                break;
            default:
                System.out.println("四时·(颂平常心是道 - 无门会开禅师)");
                System.out.println("春有百花秋有月，夏有凉风东有雪。");
                System.out.println("莫将闲事挂心头， 便是人间好时节。");
                break;
        }
    }
}
